import React, { memo } from "react";
import { View } from "@tarojs/components";
import Taro from '@tarojs/taro';


import './index.scss'

const HomeHeader = () => {

  const navPosition = Taro.getStorageSync('nav-position') ? JSON.parse(Taro.getStorageSync('nav-position')) : {}

  return (
    <View className='header'>
      <View className='home_header_bgc padding_one'>
      </View>
      <View className='fixed white text1' style={{ padding: `${navPosition.top + 5}px 16px 12px` }} >道以星球</View>
    </View>

  );
};

export default memo(HomeHeader);
